/*
 * @Description: 档案备份计划主页面
 * @Author: Rfan
 * @Date: 2022-08-03 20:29:15
 * @LastEditTime: 2022-08-04 11:11:49
 */

import classNames from 'classnames/bind';
import { BackupContextProvider } from './contexts/BackupContext';
import PageTitle from './components/PageTitle';
import PageContent from './components/PageContent';
import NavSidebar from './components/NavSidebar';
import styles from './styles/backupMain.module.scss';

const cx = classNames.bind(styles);

function BackupMain() {
  return (
    <>
      <BackupContextProvider>
        <div className={cx('page-wrap')}>
          <div className={cx('sidebar-wrap')}>
            <NavSidebar />
          </div>
          <div className={cx('content-wrap')}>
            <PageTitle />
            <PageContent />
          </div>
        </div>
      </BackupContextProvider>
    </>
  );
}

export default BackupMain;
